<h3>Trait Effects</h3>
<table>
	<% for effect in trait_effects %>
	<tr id="<%= dom_id(effect) %>">
		<% if effect.special_case.nil? then %>
		<td>
			<%= effect.character_attribute  %>
		</td>
		<td align="right">
			<%= effect.modifier %>
		</td>
		<% else -%>
		<td colspan="2">
			<%= effect.special_case %>
		</td>
		<% end -%>
		<td>
			<%= link_to_remote 'delete', 
			      :url => trait_trait_effect_url(trait, effect), 
			      :confirm => 'Are you sure?', 
			      :method => :delete %>
		</td>
	</tr>
	<% end -%>
	
</table>